<template>
  <div class="rulePart-box">
    <div class="rulePart-box-title  fonsSizeTitle">价值观（占比40%）</div>
    <!-- <div v-for="(item,index) of rulePartData" :key="index" class="work">
        <van-cell-group>
          <van-field readonly required clearable v-model.trim="item.title" label="考核标准 " type="textarea" placeholder="请输入考核标准" rows="1" autosize />
        </van-cell-group>
        <van-cell-group>
          <van-field readonly required clearable v-model.trim="item.con" label="考核内容 " type="textarea" placeholder="请输入关键绩效" rows="3" autosize />
        </van-cell-group>
        <van-cell-group>
          <van-field  readonly required clearable v-model.trim="item.rare" label="百分比 " type="number" placeholder="请输入1-60之间的数字">
          </van-field>
        </van-cell-group>
      </div> -->
    <div v-for="(item,index) of rulePartData" :key="index" class="rulePart">
      <div class="rulePart-title fonsSizeConTitle">
        {{item.title}} {{`(占比${item.rare}%)`}}
      </div>
      <div class="rulePart-con">
        <!-- <div class="fonsSizeCon">{{item.con}}</div> -->
        <van-field class="fonsSizeCon" readonly v-model.trim="item.con" type="textarea" placeholder="请输入关键绩效" rows="3" autosize />
      </div>
    </div>
  </div>
</template>
<script>
import rulePartData from "./rulePartData.js";
export default {
  data() {
    return {
      rulePartData: rulePartData
    };
  }
};
</script>

<style scoped>
@import "./../public.css";
</style>
